<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>createItem</title>
  <link rel="stylesheet" href="../css/index.css" />
  <link rel="stylesheet" href="../css/element-ui/lib/theme-chalk/index.css"/>
</head>
<body>
<div id="app">
  <div class="header">
	  <el-row>
		  <el-col :span="24">增加考核项</el-col>
		</el-row>
	</div>
	<div class="content">
		<el-row :gutter="12" type="flex" justify="center" align="middle">
			<el-form label-width="80px" size="large">
				<el-form-item label="考核项目">
			    <el-input
					  type="textarea"
					  :autosize="{ minRows: 2, maxRows: 5}"
					  placeholder="软技能（项目管理能力、协调资源能力、沟通能力等）" 
					  v-model="textarea1" 
					  id="accessPro">
					</el-input>
			 </el-form-item>
			  <el-form-item label="所属类型" prop="Class">
			  	<el-select placeholder="请选择" v-model="Class" id="selected">
			      <el-option 
			      	v-for="item in classOptions" 
			      	:label="item.label" 
			      	:value="item.value">
			      </el-option>
			    </el-select>
			  </el-form-item>
			  <el-form-item label="状态" prop="state">
			    <el-select placeholder="请选择状态" v-model="state" id="state">
			      <el-option 
			      	v-for="item in stateOptions" 
			      	:label="item.label" 
			      	:value="item.value">
			      </el-option>
			    </el-select>
			  </el-form-item>
			  <el-form-item>
			    <el-button type="info" @click="onSubmit">保存</el-button>
			  </el-form-item>
			</el-form>
		</el-row>
	</div>
</div>
</body>
<!-- 先引入 Vue -->
<script type="text/javascript" src="../js/vue/dist/vue.min.js"></script>
<script type="text/javascript" src="../js/vue-resource/dist/vue-resource.min.js"></script>
<!-- 引入组件库 -->
<script src="../css/element-ui/lib/index.js"></script>
<script src="../js/createItem.js"></script>
</html>

